package com.itcast;

import javax.servlet.*;
import java.io.IOException;

public class StudentServlet01 implements Servlet {

    @Override
    public void init(ServletConfig servletConfig) {

    }

    @Override
    public StudentServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("实现Servlet接口的方法执行了");
    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {

    }
}
